/**
 * Created by zhangligang
 * Email: tzhang2450@163.com
 * Date: 2018/8/16
 * Time: 13:51
 */
$(function(){
    sendAjax('/v1/manager/template/detail.json', 'get', {id:id}, function(json){
        var template = json.body.data;
        $('.template-name').text(template.name);
        $('.template-created-at').text(template.created_at);
        $('.template-desc').html(template.desc);
    });
});